﻿@{
    Layout = null;
}

<!DOCTYPE html>

<!-- saved from url=(0038)http://boolan.com/signup?returnUrl=%2F -->
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <link rel="icon" href="http://boolan.com/favicon.ico" type="image/x-icon">
    <link rel="shortcut icon" href="http://boolan.com/favicon.ico" type="image/x-icon">
    <link href="/Content/Index/css/shared.min.css" rel="stylesheet">
    <script src="http://hm.baidu.com/hm.js?cb581c4d338ec0f3b1ae74d12dad369a"></script>
    <script src="/Content/Index/jquery.min.js" type="text/javascript"></script>
    <link href="/Content/Index/css/acccount.min.css" rel="stylesheet">
    <script src="./注册 _ 博览网 Boolan_files/account"></script>
    <script src="~/Content/js/jquery-2.1.4.min.js"></script>
    <title>注册 | 乐知教育</title>
    <style>
        .signup-input-validationNumber {
            width: 50%;
        }

        .btn-getValidationNUmber {
            display: inline-block;
            height: 100%;
            border: 1px solid #ddd;
            float: right;
            padding: 0 5px 0 5px;
        }

            .btn-getValidationNUmber:before {
                content: "";
                height: inherit;
                display: inline-block;
                vertical-align: middle;
            }

            .btn-getValidationNUmber:hover {
                cursor: pointer;
            }
    </style>
    <script>
        var _hmt = _hmt || [];
        (function () {
            var hm = document.createElement("script");
            hm.src = "//hm.baidu.com/hm.js?cb581c4d338ec0f3b1ae74d12dad369a";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();

        //邮箱验证
        function yz() {
            var Email = $('#Email').val();
            var filter = /^([a-zA-Z0-9_-])+([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/;
            if (filter.test(Email)) return true;
            else {
                alert('您的电子邮件格式不正确');
                return false;
            }
        }
    </script>
</head>
<body>
    <div class="signup-main">
        <a href="http://boolan.com/">
            <div class="signup-topLogo"></div>
        </a>
        <div class="signup-content">
            <div class="signup-div">
                <div style="height: 15px;"></div>
                <div class="signup-title booTitleFont">注册新用户</div>
                <div class="signup-userInfoDiv">
                    <form action="/Register/Show" id="signupForm" method="post">
                        <div class="signup-email">
                            <div class="signup-label booContentFont"><span style="color: red; margin-right: 3px;">*</span><span>邮箱：</span></div>
                            <div class="signup-inputContent">
                                <input id="Email" class="signup-input" placeholder="请输入您的邮箱" name="Email" tabindex="1" data-form-un="1449111182202.6072">
                                <div class="signup-message" id="email-mssage">
                                    <div class="signup-messageLabel"><span style="padding-left: 10px" id="emailErrorSpan">邮箱格式不正确</span> </div>

                                    <div class="signup-messageRoundDiv">！</div>
                                </div>
                            </div>
                        </div>
                        <div class="signup-password">
                            <div class="signup-label booContentFont"><span style="color: red; margin-right: 3px;">*</span><span>密码：</span></div>
                            <div class="signup-inputContent">
                                <input id="password" class="signup-input" placeholder="请输入您的密码" type="password" name="Upwd" tabindex="2" data-form-pw="1449111182202.0684">
                                <div class="signup-message" id="password-message">
                                    <div class="signup-messageLabel"><span style="padding-left: 10px">密码必须6-18位</span></div>
                                    <div class="signup-messageRoundDiv">！</div>
                                </div>
                            </div>
                        </div>
                        @*<div class="signup-passwordConfirm">
                            <div class="signup-label booContentFont"><span style="color: red; margin-right: 3px;">*</span><span>确认密码：</span></div>
                            <div class="signup-inputContent">
                                <input id="passwordConfirm" class="signup-input" placeholder="再次输入你的密码" type="password" tabindex="3" data-form-pw="1449111182202.6072">
                                <div class="signup-message" id="confirmPassword-message">
                                    <div class="signup-messageLabel"><span style="padding-left: 10px">两次密码不一致</span></div>
                                    <div class="signup-messageRoundDiv">！</div>
                                </div>
                            </div>
                        </div>*@
                        <div class="signup-nickname">
                            <div class="signup-label booContentFont"><span style="color: red; margin-right: 3px;">*</span><span>昵称：</span></div>
                            <div class="signup-inputContent">
                                <input id="nickName" class="signup-input" placeholder="请输入您的昵称" name="Uname" tabindex="4">
                                <div class="signup-message" id="nickname-message">
                                    <div class="signup-messageLabel"><span style="padding-left: 10px" id="nicknameErrorSpan">昵称必须2-8位</span></div>
                                    <div class="signup-messageRoundDiv">！</div>
                                </div>
                            </div>
                        </div>
                        <div class="signup-nickname">
                            <div class="signup-label booContentFont"><span style="color: red; margin-right: 3px;">*</span><span>申请身份：</span></div>
                            <div class="signup-inputContent" style="line-height:40px;">
                                <input class="buy-item-radio" id="Radio1" type="radio" name="RoleId" value="2"/>教师
                                <input class="buy-item-radio" id="Radio1" type="radio" name="RoleId" value="1" />学生
                                <div class="signup-message" id="nickname-message">
                                    <div class="signup-messageLabel"><span style="padding-left: 10px" id="nicknameErrorSpan">昵称必须2-8位</span></div>
                                    <div class="signup-messageRoundDiv">！</div>
                                </div>
                            </div>
                        </div>
                        <input type="hidden" id="returnURL" name="returnUrl" value="/">
                        <input class="signup-button booui_bluebutton" id="Submit1" type="submit" value="注册" onclick="return yz()" />
                    </form>
                </div>
                <div class="signin-line1"></div>
            </div>
        </div>
        <div id="signup-signinDiv">
            <div id="signup-signinTitle">已经有帐号，现在</div>
            <!--returnUrl被自动url编码了-->
            <a href="/Login/Index">
                <div id="signinButton">登录</div>
            </a>
        </div>
    </div>
</body>
</html>